AmpProject\AmpWP\Validation\URLValidationRESTController S

Total Complexity 18
Dependencies 8
Dependents 0
Total lines 307
Lines of code 200
Logical lines of code 42
Comment lines 75
Methods 8
Properties 3

Methods 8

Method Rating Maintainability Complexity Lines of code
validate_post_url()
A
43 6 49
get_item_schema()
S
41 2 78
validate_post_id_param()
S
54 4 22
register()
S
51 1 30
create_item_permissions_check()
S
64 2 10
get_registration_action()
S
81 1 3
__construct()
S
74 1 5
is_valid_preview_nonce()
S
78 1 3